today = input("请输入今天是星期几?:")

print("今天是星期几?:")

n = input("请输入几天后:")
result = (int(today) + int(n)) % 7

if (result == 0):
    result = 7

print(n, "天后是星期", result)
